package com.jwx.mycar.service;

import com.jwx.mycar.entity.po.Reply;

import java.util.List;

public interface ReplyService {
    /**
     *
     * @description: 添加回复
     * @param reply
     * @return:
     * @author: jwx
     * @time: 2019/11/27 20:36
     */

    boolean add(Reply reply);
    /**
     *
     * @description: 根据id删除评论
     * @param null
     * @return:
     * @author: jwx
     * @time: 2019/11/27 21:03
     */

    boolean deleteById(String replyId);
    /**
     *
     * @description: 根据帖子id获取所有评论
     * @param
     * @return:
     * @author: jwx
     * @time: 2019/12/6 16:47
     */

    List<Reply> getAll(String draftId);
}
